package com.weibotwo.pojo;

import java.io.Serializable;

import java.util.Date;
/**
 * @author 天火
 * 用户获取积分记录
 */
public class PointRecord implements Serializable{
	
	private static final long serialVersionUID = -5486027495328217465L;
	private long id;
	/**
	 * //获取积分方式
	 * action
	 */
	private Long actionId;

	/**
	 * 获取积分的用户
	 * email
	 */
	private String email;

	/**
	 * 获取积分时间
	 * recordDate
	 */
	private Date recordDate;
	
	public PointRecord(){
	}

	public PointRecord(long id, Long actionId, String email, Date recordDate) {
		this.id = id;
		this.actionId = actionId;
		this.email = email;
		this.recordDate = recordDate;
	}

	public PointRecord(Long actionId, String email, Date recordDate) {
		this.actionId = actionId;
		this.email = email;
		this.recordDate = recordDate;
	}
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Long getActionId() {
		return actionId;
	}

	public void setAction(Long actionId) {
		this.actionId = actionId;
	}

	public String getemail() {
		return email;
	}

	public void setemail(String email) {
		this.email = email;
	}

	public Date getRecordDate() {
		return recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

	@Override
	public String toString() {
		return "PointRecord [id=" + id + ", actionId=" + actionId + ", email=" + email + ", recordDate=" + recordDate + "]";
	}
	
	
	
}
